package com.hhdys.util;

import java.util.Map;
import java.util.Properties;

import com.hhdys.model.WebSet;

public class Constant {
	public static Map<String, Map<String, WebSet>> WEBSET = null;

	private static Properties properties;
	/**
	 * 验证码key
	 */
	public static String KAPTCHA_SESSION_KEY = "kaptchaKey";
	/**
	 * 验证码开关：true为开；false为关
	 */
	public static boolean KAPTCHASWITCH = false;
	public static final String MENUCACHE="menu";
	public static final String MENUCACHENAME="menuName";
	
	public static final String FUNCCACHE="func";
	public static final String MENUID="menuId";

	public static final String URL="";

	public static Properties getProperties() {
		return properties;
	}

	public static void setProperties(Properties pro) {
		properties = pro;
	}

	public static final String getURl(){
		return getProperties().getProperty("url");
	}
}
